package com.huanxing.cloud.pay.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class CreateRefundsRequest {

	@ApiModelProperty(value = "商户订单号")
	private String outTradeNo;

	@ApiModelProperty(value = "商户退款单号")
	private String refundTradeNo;

	@ApiModelProperty(value = "订单总金额")
	private BigDecimal totalAmount;

	@ApiModelProperty(value = "退款金额")
	private BigDecimal refundAmount;

	@ApiModelProperty(value = "通知地址")
	private String notifyUrl;

	@ApiModelProperty(value = "退款类型；WEICHAT_REFUND.微信退款；ALIPAY_REGUND.支付宝退款；")
	private String refundType;

	@ApiModelProperty(value = "额外参数")
	private String extra;

}
